package tema4_Observer_Employee;

import java.util.*;

public class Employee extends Observable{
	float salary;
	public void setSalary(float newSalary)
	{
		salary=newSalary;
		setChanged();
		notifyObservers(new Float(salary));
		//notifyObservers(this, new Float(salary));
	}
}
